home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000279_news@columbia.edu _Thu May 4 12:37:10 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA16661
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 4 May 2000 12:37:09 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA10742
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 4 May 2000 12:37:09 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA15739
  10.     for kermit.misc@watsun.cc.columbia.edu; Thu, 4 May 2000 12:25:42 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: Is there a way to do recursive mput in ftp?
  14. Date: 4 May 2000 16:25:40 GMT
  15. Organization: Columbia University
  16. Message-ID: <8es8a4$fbp$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <39119FB9.367D398E@attglobal.net>,
  20. Carl D. Speare <carlds@attglobal.net> wrote:
  21. : Charles Bayley wrote:
  22. : > I'm needing to ftp an entire directory tree from a PC to a Sun.  Is there
  23. : > anyway to do a recursive mput in ftp which will NOT prompt for each file
  24. : > and create the subdirectories it encounters, similiar to the rcp -p
  25. : > command to copy between Sun machines?
  26. : While at the FTP prompt in PC-land, make sure you do
  27. : ftp> prompt
  28. : to turn the prompting off, then do
  29. : ftp> mput *
  30. : and you'll be in business.
  31. I don't think FTP "mput" descends recursively through the directory tree.
  32.  
  33. Even if it did, I don't think most FTP servers will create directories on
  34. the fly when receiving a group of files.
  35.  
  36. Even if a particular FTP client/server pair supported this, all files are
  37. transferred in the same mode, text or binary.  Thus either your text files
  38. will have the wrong record format (and character set) on the Sun, or your
  39. binary files will be corrupted.
  40.  
  41. An alternative to FTP that handles all of these tasks is Kermit:
  42.  
  43.   http://www.columbia.edu/kermit/
  44.  
  45. With Kermit you can send a directory tree containing any mixture of text
  46. and binary files to another computer, not necessarily the same platform,
  47. and have the original tree replicated, with binary files transferred in binary
  48. mode and text files transferred in text mode, including record-format and
  49. character-set conversion.  This works between any combination of Unix,
  50. Windows, OS/2, VMS, and several other platforms.
  51.  
  52. For a more detailed explanation, see:
  53.  
  54.   http://www.columbia.edu/kermit/case04.html
  55.   http://www.columbia.edu/kermit/case05.html
  56.  
  57. And for more Kermit case studies, see:
  58.  
  59.   http://www.columbia.edu/kermit/ckermit.html#studies
  60.  
  61. - Frank